package com.yupi.springbootinit.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class queryController {
    @GetMapping("/get")
    public GISData get(){
        GISData data = new GISData();
        data.setAreaGisInfos("[\\\"MULTIPOLYGON (((111.70055901123223 40.84643105608992, 111.68893452300581 40.84494488572069, 111.67830050601238 40.843466916139995, 111.66883687907776 40.842233507497035, 111.66142695980807 40.84121360751106, 111.66090879651394 40.83775352821279, 111.66812104349037 40.837581239088664, 111.68100402348357 40.837130371485145, 111.6851321464815 40.837147576261074, 111.6919588151923 40.838857569836065, 111.6980348302856 40.840389261139045, 111.70263831192388 40.841548230322154, 111.70055901123223 40.84643105608992)))\\\",\\\"MULTIPOLYGON (((111.7117528667739 40.85496344912392, 111.7096524309555 40.84352122905294, 111.72462780788788 40.84618891794941, 111.73144078411858 40.84799292039588, 111.72905159929317 40.85432579559242, 111.72763101761618 40.85804813719131, 111.72030287714321 40.85708633761312, 111.7117528667739 40.85496344912392)))\\\"]");
        data.setGridGisInfo("MULTIPOLYGON (((111.67860154101348 40.87253609345603");
        return data;
    }
}
